package cn.edu.zut.service;

import cn.edu.zut.domain.User;

import java.util.List;

public interface UserService {
    public User findByUserName(String userName);

    public void insert(User user);

    public void update(User user);

    public List<User> findAll();

    public List<User> findAllUsers();

    public void deleteByUserName(String userName);

    public List<User> findByLikeUserName(User user);

    public List<User> findPart(int offset, int maxNumber);
}
